package cn.rkylin.oms.goods.util.request;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import cn.rkylin.oms.goods.vo.GoodsVO;

public class MyRequest extends Request {
    private List<String> skuCodeList;
    private GoodsVO goodsVO;

    public MyRequest() {
        skuCodeList = new ArrayList<String>();
    }

    @Override
    public GoodsVO getGoodsInfo() {
        return goodsVO;
    }

    @Override
    public void setGoodsInfo(GoodsVO goodsVO) {
        this.goodsVO = goodsVO;

    }

    @Override
    public void addSkuCode(String skuCOde) {
        if (null == skuCodeList) {
            skuCodeList = new ArrayList<String>();
        }
        skuCodeList.add(skuCOde);
    }

    @Override
    public List<String> getSkuCodeList() {
        return skuCodeList;
    }

}
